const routes = [
  {
    icon: "Service",
    title: "首页面板",
    children: [
      {
        title: "主控台",
        icon: "Service",
        path: "/index",
        name: "index",
      },
    ],
  },
  {
    icon: "ChatDotRound",
    title: "表格",
    children: [
      { path: "/table", name: "table", icon: "Unlock", title: "表格展示" },
    ],
  },
  {
    icon: "Unlock",
    title: "表单组件",
    children: [
      { path: "/form", name: "form", icon: "Unlock", title: "表单使用" },
    ],
  },
  {
    icon: "SwitchButton",
    title: "图表组件",
    children: [
      {
        path: "/echarts",
        name: "echarts",
        icon: "SwitchButton",
        title: "图表组件",
      },
    ],
  },
  {
    icon: "SwitchButton",
    title: "富文本组件",
    children: [
      {
        path: "/edit",
        name: "edit",
        icon: "SwitchButton",
        title: "富文本组件",
      },
      {
        path: "image",
        name: "image",
        icon: "MessageBox",
        title: "上传图片组件",
      },
    ],
  },
];

export default routes;
